package com.cnt.service;

import com.cnt.entity.Report;
import com.cnt.vo.ReportDonationVo;
import com.cnt.vo.ResultVo;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;
import java.util.List;

public interface ReportService {
    ResultVo<String> createReport(Report report);

    ResultVo<List<ReportDonationVo>> getReportDonationList(Integer minAge, Integer oldAge, String name);

    ResultVo<List<ReportDonationVo>> queryReportByUserId(Integer userId);

    ResultVo<String> rejectReport(Integer reportId);

    ResultVo<String> uploadFile(MultipartFile file, Integer reportId);

    public InputStream downloadFile(Integer reportId);

    ResultVo<String> changeStateByAdmin(Integer reportId);

    ResultVo<String> changeStateBySuperAdmin(Integer reportId);
}
